<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
   function reg(){
	   location.href="register.jsp";
   }
</script>
</head>
<body>
   <form action="LoginServlet" method="post">
           用户名<input name="username" type="text" /><br/>
           密&nbsp;码<input name="userpwd" type="password" /><br/>
           <input type="submit" value="登录">
           <input type="radio" name="autoLogin" value="1">一天
           <input type="radio" name="autoLogin" value="3">三天
           <input type="radio" name="autoLogin" value="7">一周
           <input type="radio" name="autoLogin" value="30">一月
           <input type="button" value="注册" onclick="reg()">
   </form>
</body>
</html>